﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Brjostagjof.Models.ArticleViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Brjostagjöf - Skrifa Grein
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Skrifa Grein</h1>
    <p>Mundu að tilgreina höfund ef það er einhver annar en þú.</p><br />

    <% using (Html.BeginForm()) {%>
        <%: Html.HiddenFor(model => model.article.InserterID, new { @Value = Page.User.Identity.Name }) %>

        <% Html.RenderPartial("PartialViews/GreinInput", Model); %>

    <% } %>

    


    <div>
        <%: Html.ActionLink("Til Baka", "Index") %>
    </div>

</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="Actions" runat="server" >
    <%Html.RenderPartial("PartialViews/Actions", "Grein"); %>
</asp:Content>
